package com.klun.designMode.template;

import java.util.Arrays;
import java.util.List;

public class TemplateTest {
    public static void main(String[] args) {
        // 对 List 集合排序
        List<Integer> list =  Arrays.asList(3,6,8,4,1,2,7,0,5);
        int sort = new IntergerListBubbleSorter().sort(list);
        System.out.println(sort);
        list.forEach((i)-> System.out.print(i+","));
    }
}
